﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using DomesticPestLib;
using System.Collections;
using System.Web.Security;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;


namespace DomesticPestProject
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        entyTrans entytrans=null;
        DLayer dlayer=null;
        ArrayList objalst=null;
        protected void Page_Load(object sender, EventArgs e)
        {
            BindDetails();
        }

        private void BindDetails()
        {

            {
                entytrans = new entyTrans();
                dlayer = new DLayer();
                objalst = new ArrayList();
                objalst = dlayer.selectTrans();
                CrystalReportViewer1.ReportSource = objalst;
                CrystalReportViewer1.DataBind();
                //gvComm.DataBind();
                //DataList1.DataSource = objalst;
                //DataList1.DataBind();
            }

        }
    }
}